package com.maiji.cloud.entities.shopingmall;


import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
 * 
 * Description:  
 * @author zhanglr  
 * @date 2019年6月27日
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "down_price_user_log")
public class DownPriceUserLog {
	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId;

	@Column(name = "down_price_user_log_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String downPriceGoodsLogId; //砍价商品id
	
	@Column(name = "type", type = MySqlTypeConstant.INT, length = 2,defaultValue = "0")
	private Integer type;//0帮别人砍价，1给自己砍价
	
	@Column(name = "open_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String openId;//改为保存用户id
	
	@Column(name = "nikename", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String nikename;//昵称
	
	@Column(name = "head_url", type = MySqlTypeConstant.VARCHAR, length = 255)
	private String headUrl;//头像
	
	@Column(name = "price", type = MySqlTypeConstant.DOUBLE, length = 8,decimalLength = 2)
	private Double price;  //砍掉的价格
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
	private Date inTime;
	
	
}
